import { test } from "tap";
import { build } from "../helper.js";

test("default root route", async t => {
  const app = await build(t);

  const res = await app.inject({
    url: "/",
  });
  t.same(JSON.parse(res.payload), { root: true });
});
